package com.hm.hall.commons.constans;

/**
 * Redis key 枚举定义汇总
 *
 * @author wei
 */
public class RedisKeysDefine {


    public static final String BLACKLISTIP_PREFIX = "BLACKLISTIP_PREFIX-${ip}";

    public static final String PROJECT_SCHEDULER_COUNT = "PROJECT_SCHEDULER_COUNT";

    /**
     * 每天发送验证码条数计数时存入到缓存的key前缀
     */
    public static final String VERIFYCODE_NUM_PREFIX = "gameVerifycode";

    /**
     * sessionToken登录态
     */
    public static final String SESSIONTOKEN = "gameSessionToken${userId}";


    // 6位数 有效房间号
    public static final String VALID_ROOM_NUMBER = "${gameType}-valid-room-number-${number}";

    public static final String GAME_ROOM_USER_MSG_CACHE_INFO = "game-user-msg-chche-info-${roomId}-${userId}";


    /**
     * 系统异常信息集合,用于email 通知开发者,异常信息
     */
    public static final String PROJECT_EXCEPTION_INFO_LIST = "PROJECT_EXCEPTION_INFO_LIST";
    // 异常白名单, 容器
    public static final String PROJECT_EXCEPTION_INFO_WHITE_LIST = "PROJECT_EXCEPTION_INFO_WHITE_LIST";
    // 系统异常信息每天的计数,用于email 通知开发者
    public static final String PROJECT_EXCEPTION_INFO_DAY_COUNT = "PROJECT_EXCEPTION_INFO_DAY_COUNT";


    public static final String ACTIVITY_CD_BY_ONLINE = "ACTIVITY_CD_BY_ONLINE-${userId}";

    public static final String NOTIFY_OPT_SYNC = "NOTIFY_OPT_SYNC";

    public static final String VERIFYCODE_NUM_PREFIX_PHONE_NUMBER = "VERIFYCODE_NUM_PREFIX_PHONE_NUMBER";

    public static final String MATCH_AVATAR_LIST_CACHE = "MATCH_AVATAR_LIST_CACHE";

    public static final String FRIEND_BATTLE_EXIT_INFO = "FRIEND_BATTLE_EXIT_INFO-${userId}";

    public static final String USE_PROP_SYNC = "USE_PROP_SYNC";

    public static final String BATTLE_ROOM_OPT_SYNC = "BATTLE_ROOM_OPT_SYNC";

    public static final String BATTLE_ROUNDCHANGE_OPT_SYNC = "BATTLE_ROUNDCHANGE_OPT_SYNC";
    public static final String BATTLE_USER_ADD_SCORE_SYNC = "BATTLE_USER_ADD_SCORE_SYNC";

    public static final String BATTLE_USER_ADD_SCORE_SUCCESS_SYNC = "BATTLE_USER_ADD_SCORE_SUCCESS_SYNC";

    public static final String TODAY_CHALLENGE_TIMES_DEAL = "TODAY_CHALLENGE_TIMES_DEAL-${userId}";

    public static final String TODAY_ENDLESS_G_RANK_IS_EMPTY = "TODAY_ENDLESS_G_RANK_IS_EMPTY";
    public static final String TODAY_ENDLESS_P_RANK_IS_EMPTY = "TODAY_ENDLESS_P_RANK_IS_EMPTY-${province}";

    public static final String TODAY_CHALLENGE_G_RANK_IS_EMPTY = "TODAY_CHALLENGE_G_RANK_IS_EMPTY";
    public static final String TODAY_CHALLENGE_P_RANK_IS_EMPTY = "TODAY_CHALLENGE_P_RANK_IS_EMPTY-${province}";


    public static final String LAST_GET_CHALLENGE_TIME = "LAST_GET_CHALLENGE_TIME-${userId}";
    public static final String LAST_GET_CHALLENGE_TIMES = "LAST_GET_CHALLENGE_TIMES-${userId}";


    public static final String PRODUCT_LIST_CACHE = "PRODUCT_LIST_CACHE";

    public static final String BATTLE_NOR_ROOM_INFO_OBJ = "BATTLE_NOR_ROOM_INFO_OBJ-${roomId}";

    public static final String BATTLE_NOR_HAND_INFO_OBJ = "BATTLE_NOR_HAND_INFO_OBJ-${roomId}";
    public static final String BATTLE_PLAYBACK_INFO_OBJ = "BATTLE_PLAYBACK_INFO_OBJ-${roomId}";

    public static final String USER_RECEND_PLAY_LOG = "USER_RECEND_PLAY_LOG_";
    public static final String USER_MINUTE_PLAY_ACTION = "USER_MINUTE_PLAY_ACTION_";

    public static final String USER_UPDATE_USER_INFO = "USER_UPDATE_USER_INFO_";

    public static final String USER_FIND_PASSWORD_CODE = "USER_FIND_PASSWORD_CODE_";

    public static final String USER_FIND_PASSWORD_SEND_CODE_CD = "USER_FIND_PASSWORD_SEND_CODE_CD_";
    public static final String CARD_GROUP_LIST = "USER_FIND_PASSWORD_SEND_CODE_CD_";
    public static final String SCORE_TABLE_IMG = "SCORE_TABLE_IMG_${roomId}";

    public static final String FREE_PROLONG = "FREE_PROLONG-${userId}";

    // 游戏的聊天记录
    public static final String GAME_CHAT_RECORD = "chat-record-${roomId}";

    public static final String GAME_ROOM_OPP_LIST = "GAME_ROOM_OPP_LIST_";

    public static final String ROOM_EMOJI_RECORD = "ROOM_EMOJI_RECORD_${roomId}";

    public static final String FREE_SEE_COMCARDS = "FREE_SEE_COMCARDS_${userId}";

    public static final String ROOM_UNKNOWN_COMCARD_CACHE = "ROOM_UNKNOWN_COMCARD_CACHE_${roomId}";
}

